(append-to-buffer): Interactively, supply all 3 args.
authorRichard M. Stallman <rms@gnu.org>
Thu, 10 Jun 1993 23:06:50 +0000 (23:06 +0000)
committerRichard M. Stallman <rms@gnu.org>
Thu, 10 Jun 1993 23:06:50 +0000 (23:06 +0000)
Allow nonexistent buffers.

lisp/simple.el

index 339afef7104e29d49dd641390e72ae46413dd925..7d0b3001fef57241ba380c5f8487f7a683e38220 100644 (file)
@@ -1194,7 +1194,8 @@ When calling from a program, give three arguments:
 BUFFER (or buffer name), START and END.
 START and END specify the portion of the current buffer to be copied."
   (interactive
-   (list (read-buffer "Append to buffer: " (other-buffer nil t) t)))
+   (list (read-buffer "Append to buffer: " (other-buffer nil t))
+        (region-beginning) (region-end)))
   (let ((oldbuf (current-buffer)))
     (save-excursion
       (set-buffer (get-buffer-create buffer))